ExamPlay Dark Logo
Logga in

Computer Science for IGCSE & O level - Databases (Section 5 - No. 10)

What is the role of the `NOT NULL` constraint in a database?
Allows a column to contain only unique values.
Ensures that a column cannot have a null value.
Sets a default value for a column.
Defines a relationship between tables.

Förklaring

The `NOT NULL` constraint ensures that a particular column must always have a value.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc